let express = require('express');
let home = require(('./home'));
let users = require('./users');


let questionsListRouter = require('./questions-list-router');
let questionRouter = require('./question-router');
let roomRouter = require('./room-router');

module.exports = function(app){
  app.use('/',home);
  app.use('/verificationcode',require('../util/verificationcode'));
  app.use('/messageboard',require('./messageboard'));
  app.use('/users',users);
  /*ZHJ edited*/

  app.use('/questions_list', questionsListRouter);
  app.use('/question', questionRouter);
  app.use('/room', roomRouter);
};
